#ifndef PHONELOGINWIDGET_H
#define PHONELOGINWIDGET_H

#include "phonepwdloginwidget.h"

#include <QStackedWidget>
#include <QToolButton>
#include <QVBoxLayout>
#include <QWidget>

class phoneLoginWidget : public QWidget
{
    Q_OBJECT
public:
    explicit phoneLoginWidget(QWidget *parent = nullptr);

protected slots:
    void onReturnButtonClicked();
signals:
    void returnMainLoginWidget();

private:
    QVBoxLayout *mainLayout;
    QToolButton *returnButton;
    QStackedWidget *stackWidget;
    phonePwdLoginWidget *pwdLoginWidget;
};

#endif // PHONELOGINWIDGET_H
